package wsz.code.client.fallback;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import wsz.code.client.ServiceUserClient;

/**
 * @author wsz
 * @date 2021/12/29 17:38
 **/
@Slf4j
@Component
public class ServiceUserClientFallBack implements ServiceUserClient {
    @Override
    public boolean isRegistered(String email) {
        log.info("ServiceUserClientFallBack.isRegistered：邮箱是否已注册--{}", email);
        return true;
    }
}
